<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2021/11/15
  Time: 19:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>管理比赛</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/table.css">
    <style type="text/css">
        body {
            background-image: url("${pageContext.request.contextPath}/images/background.jpeg");
            background-size: 100%, 100%;
        }
    </style>
</head>
<body>
<header style="height: 40px">
    <%@ include file="../common/teacherHead.jsp" %>
</header>
<form method="post" action="${pageContext.request.contextPath}/teachCompetition.do">
    <label>比赛编号：<input type="number" value="${requestScope.id}" readonly="readonly" name="competitionId"></label>
    <br><label>比赛名称：<input type="text" value="${requestScope.name}" name="competitionName"></label>
    <br><label>比赛日期：<input type="date" value="${requestScope.date}" name="date"></label>
    <br><label>比赛描述：<textarea rows="5" cols="40" maxlength="1000" name="describe">${requestScope.describe}</textarea></label>
    <br><input type="submit" value="提交">
</form>
${requestScope.error}
${requestScope.success}
<footer style="height: 30px">
    <%@ include file="../common/foot.jsp" %>
</footer>
</body>
</html>
